import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import './plugin/van.js'   //vant按需导入
import './assets/css/normalize.css'
import 'vant/lib/index.less'  //vant less 样式
import './utils/http'
// 轻提示
import { Toast } from 'vant';
Vue.use(Toast);

Vue.prototype.$axios = axios;
Vue.prototype.$toast = function (title){
  Toast.loading({
    message: title,
    forbidClick: true,
  });
}
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
